﻿using System.ComponentModel.DataAnnotations;

namespace Shop.Model.Dto.Admin.Order;

public class ShipmentsDto
{
    /// <summary>
    /// 订单Id
    /// </summary>
    [Required(ErrorMessage = "订单Id不可为空")]
    public long OId { get; set; }
    
    /// <summary>
    /// 订单详情Id
    /// </summary>
    [Required(ErrorMessage = "订单详情Id不可为空")]
    public long OSId { get; set; }
    
    /// <summary>
    /// 快递公司名
    /// </summary>
    [Required(ErrorMessage = "快递公司名不可为空")]
    public string LName { get; set; }
    
    /// <summary>
    /// 快递单号
    /// </summary>
    [Required(ErrorMessage = "快递单号不可为空")]
    public string LNo { get; set; }
}